package com.akk.module.user.entity;

import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@Component
public class UserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andAgentIdIsNull() {
            addCriterion("agent_id is null");
            return (Criteria) this;
        }

        public Criteria andAgentIdIsNotNull() {
            addCriterion("agent_id is not null");
            return (Criteria) this;
        }

        public Criteria andAgentIdEqualTo(String value) {
            addCriterion("agent_id =", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotEqualTo(String value) {
            addCriterion("agent_id <>", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdGreaterThan(String value) {
            addCriterion("agent_id >", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdGreaterThanOrEqualTo(String value) {
            addCriterion("agent_id >=", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdLessThan(String value) {
            addCriterion("agent_id <", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdLessThanOrEqualTo(String value) {
            addCriterion("agent_id <=", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdLike(String value) {
            addCriterion("agent_id like", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotLike(String value) {
            addCriterion("agent_id not like", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdIn(List<String> values) {
            addCriterion("agent_id in", values, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotIn(List<String> values) {
            addCriterion("agent_id not in", values, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdBetween(String value1, String value2) {
            addCriterion("agent_id between", value1, value2, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotBetween(String value1, String value2) {
            addCriterion("agent_id not between", value1, value2, "agentId");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("username is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("username is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("username =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("username <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("username >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("username >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("username <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("username <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("username like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("username not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("username in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("username not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("username between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("username not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andLoginPwdIsNull() {
            addCriterion("login_pwd is null");
            return (Criteria) this;
        }

        public Criteria andLoginPwdIsNotNull() {
            addCriterion("login_pwd is not null");
            return (Criteria) this;
        }

        public Criteria andLoginPwdEqualTo(String value) {
            addCriterion("login_pwd =", value, "loginPwd");
            return (Criteria) this;
        }

        public Criteria andLoginPwdNotEqualTo(String value) {
            addCriterion("login_pwd <>", value, "loginPwd");
            return (Criteria) this;
        }

        public Criteria andLoginPwdGreaterThan(String value) {
            addCriterion("login_pwd >", value, "loginPwd");
            return (Criteria) this;
        }

        public Criteria andLoginPwdGreaterThanOrEqualTo(String value) {
            addCriterion("login_pwd >=", value, "loginPwd");
            return (Criteria) this;
        }

        public Criteria andLoginPwdLessThan(String value) {
            addCriterion("login_pwd <", value, "loginPwd");
            return (Criteria) this;
        }

        public Criteria andLoginPwdLessThanOrEqualTo(String value) {
            addCriterion("login_pwd <=", value, "loginPwd");
            return (Criteria) this;
        }

        public Criteria andLoginPwdLike(String value) {
            addCriterion("login_pwd like", value, "loginPwd");
            return (Criteria) this;
        }

        public Criteria andLoginPwdNotLike(String value) {
            addCriterion("login_pwd not like", value, "loginPwd");
            return (Criteria) this;
        }

        public Criteria andLoginPwdIn(List<String> values) {
            addCriterion("login_pwd in", values, "loginPwd");
            return (Criteria) this;
        }

        public Criteria andLoginPwdNotIn(List<String> values) {
            addCriterion("login_pwd not in", values, "loginPwd");
            return (Criteria) this;
        }

        public Criteria andLoginPwdBetween(String value1, String value2) {
            addCriterion("login_pwd between", value1, value2, "loginPwd");
            return (Criteria) this;
        }

        public Criteria andLoginPwdNotBetween(String value1, String value2) {
            addCriterion("login_pwd not between", value1, value2, "loginPwd");
            return (Criteria) this;
        }

        public Criteria andFacePathIsNull() {
            addCriterion("face_path is null");
            return (Criteria) this;
        }

        public Criteria andFacePathIsNotNull() {
            addCriterion("face_path is not null");
            return (Criteria) this;
        }

        public Criteria andFacePathEqualTo(String value) {
            addCriterion("face_path =", value, "facePath");
            return (Criteria) this;
        }

        public Criteria andFacePathNotEqualTo(String value) {
            addCriterion("face_path <>", value, "facePath");
            return (Criteria) this;
        }

        public Criteria andFacePathGreaterThan(String value) {
            addCriterion("face_path >", value, "facePath");
            return (Criteria) this;
        }

        public Criteria andFacePathGreaterThanOrEqualTo(String value) {
            addCriterion("face_path >=", value, "facePath");
            return (Criteria) this;
        }

        public Criteria andFacePathLessThan(String value) {
            addCriterion("face_path <", value, "facePath");
            return (Criteria) this;
        }

        public Criteria andFacePathLessThanOrEqualTo(String value) {
            addCriterion("face_path <=", value, "facePath");
            return (Criteria) this;
        }

        public Criteria andFacePathLike(String value) {
            addCriterion("face_path like", value, "facePath");
            return (Criteria) this;
        }

        public Criteria andFacePathNotLike(String value) {
            addCriterion("face_path not like", value, "facePath");
            return (Criteria) this;
        }

        public Criteria andFacePathIn(List<String> values) {
            addCriterion("face_path in", values, "facePath");
            return (Criteria) this;
        }

        public Criteria andFacePathNotIn(List<String> values) {
            addCriterion("face_path not in", values, "facePath");
            return (Criteria) this;
        }

        public Criteria andFacePathBetween(String value1, String value2) {
            addCriterion("face_path between", value1, value2, "facePath");
            return (Criteria) this;
        }

        public Criteria andFacePathNotBetween(String value1, String value2) {
            addCriterion("face_path not between", value1, value2, "facePath");
            return (Criteria) this;
        }

        public Criteria andRealAuthIsNull() {
            addCriterion("real_auth is null");
            return (Criteria) this;
        }

        public Criteria andRealAuthIsNotNull() {
            addCriterion("real_auth is not null");
            return (Criteria) this;
        }

        public Criteria andRealAuthEqualTo(Integer value) {
            addCriterion("real_auth =", value, "realAuth");
            return (Criteria) this;
        }

        public Criteria andRealAuthNotEqualTo(Integer value) {
            addCriterion("real_auth <>", value, "realAuth");
            return (Criteria) this;
        }

        public Criteria andRealAuthGreaterThan(Integer value) {
            addCriterion("real_auth >", value, "realAuth");
            return (Criteria) this;
        }

        public Criteria andRealAuthGreaterThanOrEqualTo(Integer value) {
            addCriterion("real_auth >=", value, "realAuth");
            return (Criteria) this;
        }

        public Criteria andRealAuthLessThan(Integer value) {
            addCriterion("real_auth <", value, "realAuth");
            return (Criteria) this;
        }

        public Criteria andRealAuthLessThanOrEqualTo(Integer value) {
            addCriterion("real_auth <=", value, "realAuth");
            return (Criteria) this;
        }

        public Criteria andRealAuthIn(List<Integer> values) {
            addCriterion("real_auth in", values, "realAuth");
            return (Criteria) this;
        }

        public Criteria andRealAuthNotIn(List<Integer> values) {
            addCriterion("real_auth not in", values, "realAuth");
            return (Criteria) this;
        }

        public Criteria andRealAuthBetween(Integer value1, Integer value2) {
            addCriterion("real_auth between", value1, value2, "realAuth");
            return (Criteria) this;
        }

        public Criteria andRealAuthNotBetween(Integer value1, Integer value2) {
            addCriterion("real_auth not between", value1, value2, "realAuth");
            return (Criteria) this;
        }

        public Criteria andSpreadIdIsNull() {
            addCriterion("spread_id is null");
            return (Criteria) this;
        }

        public Criteria andSpreadIdIsNotNull() {
            addCriterion("spread_id is not null");
            return (Criteria) this;
        }

        public Criteria andSpreadIdEqualTo(String value) {
            addCriterion("spread_id =", value, "spreadId");
            return (Criteria) this;
        }

        public Criteria andSpreadIdNotEqualTo(String value) {
            addCriterion("spread_id <>", value, "spreadId");
            return (Criteria) this;
        }

        public Criteria andSpreadIdGreaterThan(String value) {
            addCriterion("spread_id >", value, "spreadId");
            return (Criteria) this;
        }

        public Criteria andSpreadIdGreaterThanOrEqualTo(String value) {
            addCriterion("spread_id >=", value, "spreadId");
            return (Criteria) this;
        }

        public Criteria andSpreadIdLessThan(String value) {
            addCriterion("spread_id <", value, "spreadId");
            return (Criteria) this;
        }

        public Criteria andSpreadIdLessThanOrEqualTo(String value) {
            addCriterion("spread_id <=", value, "spreadId");
            return (Criteria) this;
        }

        public Criteria andSpreadIdLike(String value) {
            addCriterion("spread_id like", value, "spreadId");
            return (Criteria) this;
        }

        public Criteria andSpreadIdNotLike(String value) {
            addCriterion("spread_id not like", value, "spreadId");
            return (Criteria) this;
        }

        public Criteria andSpreadIdIn(List<String> values) {
            addCriterion("spread_id in", values, "spreadId");
            return (Criteria) this;
        }

        public Criteria andSpreadIdNotIn(List<String> values) {
            addCriterion("spread_id not in", values, "spreadId");
            return (Criteria) this;
        }

        public Criteria andSpreadIdBetween(String value1, String value2) {
            addCriterion("spread_id between", value1, value2, "spreadId");
            return (Criteria) this;
        }

        public Criteria andSpreadIdNotBetween(String value1, String value2) {
            addCriterion("spread_id not between", value1, value2, "spreadId");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andRealDateIsNull() {
            addCriterion("real_date is null");
            return (Criteria) this;
        }

        public Criteria andRealDateIsNotNull() {
            addCriterion("real_date is not null");
            return (Criteria) this;
        }

        public Criteria andRealDateEqualTo(Date value) {
            addCriterion("real_date =", value, "realDate");
            return (Criteria) this;
        }

        public Criteria andRealDateNotEqualTo(Date value) {
            addCriterion("real_date <>", value, "realDate");
            return (Criteria) this;
        }

        public Criteria andRealDateGreaterThan(Date value) {
            addCriterion("real_date >", value, "realDate");
            return (Criteria) this;
        }

        public Criteria andRealDateGreaterThanOrEqualTo(Date value) {
            addCriterion("real_date >=", value, "realDate");
            return (Criteria) this;
        }

        public Criteria andRealDateLessThan(Date value) {
            addCriterion("real_date <", value, "realDate");
            return (Criteria) this;
        }

        public Criteria andRealDateLessThanOrEqualTo(Date value) {
            addCriterion("real_date <=", value, "realDate");
            return (Criteria) this;
        }

        public Criteria andRealDateIn(List<Date> values) {
            addCriterion("real_date in", values, "realDate");
            return (Criteria) this;
        }

        public Criteria andRealDateNotIn(List<Date> values) {
            addCriterion("real_date not in", values, "realDate");
            return (Criteria) this;
        }

        public Criteria andRealDateBetween(Date value1, Date value2) {
            addCriterion("real_date between", value1, value2, "realDate");
            return (Criteria) this;
        }

        public Criteria andRealDateNotBetween(Date value1, Date value2) {
            addCriterion("real_date not between", value1, value2, "realDate");
            return (Criteria) this;
        }

        public Criteria andRealAddrIsNull() {
            addCriterion("real_addr is null");
            return (Criteria) this;
        }

        public Criteria andRealAddrIsNotNull() {
            addCriterion("real_addr is not null");
            return (Criteria) this;
        }

        public Criteria andRealAddrEqualTo(String value) {
            addCriterion("real_addr =", value, "realAddr");
            return (Criteria) this;
        }

        public Criteria andRealAddrNotEqualTo(String value) {
            addCriterion("real_addr <>", value, "realAddr");
            return (Criteria) this;
        }

        public Criteria andRealAddrGreaterThan(String value) {
            addCriterion("real_addr >", value, "realAddr");
            return (Criteria) this;
        }

        public Criteria andRealAddrGreaterThanOrEqualTo(String value) {
            addCriterion("real_addr >=", value, "realAddr");
            return (Criteria) this;
        }

        public Criteria andRealAddrLessThan(String value) {
            addCriterion("real_addr <", value, "realAddr");
            return (Criteria) this;
        }

        public Criteria andRealAddrLessThanOrEqualTo(String value) {
            addCriterion("real_addr <=", value, "realAddr");
            return (Criteria) this;
        }

        public Criteria andRealAddrLike(String value) {
            addCriterion("real_addr like", value, "realAddr");
            return (Criteria) this;
        }

        public Criteria andRealAddrNotLike(String value) {
            addCriterion("real_addr not like", value, "realAddr");
            return (Criteria) this;
        }

        public Criteria andRealAddrIn(List<String> values) {
            addCriterion("real_addr in", values, "realAddr");
            return (Criteria) this;
        }

        public Criteria andRealAddrNotIn(List<String> values) {
            addCriterion("real_addr not in", values, "realAddr");
            return (Criteria) this;
        }

        public Criteria andRealAddrBetween(String value1, String value2) {
            addCriterion("real_addr between", value1, value2, "realAddr");
            return (Criteria) this;
        }

        public Criteria andRealAddrNotBetween(String value1, String value2) {
            addCriterion("real_addr not between", value1, value2, "realAddr");
            return (Criteria) this;
        }

        public Criteria andTransPwdIsNull() {
            addCriterion("trans_pwd is null");
            return (Criteria) this;
        }

        public Criteria andTransPwdIsNotNull() {
            addCriterion("trans_pwd is not null");
            return (Criteria) this;
        }

        public Criteria andTransPwdEqualTo(String value) {
            addCriterion("trans_pwd =", value, "transPwd");
            return (Criteria) this;
        }

        public Criteria andTransPwdNotEqualTo(String value) {
            addCriterion("trans_pwd <>", value, "transPwd");
            return (Criteria) this;
        }

        public Criteria andTransPwdGreaterThan(String value) {
            addCriterion("trans_pwd >", value, "transPwd");
            return (Criteria) this;
        }

        public Criteria andTransPwdGreaterThanOrEqualTo(String value) {
            addCriterion("trans_pwd >=", value, "transPwd");
            return (Criteria) this;
        }

        public Criteria andTransPwdLessThan(String value) {
            addCriterion("trans_pwd <", value, "transPwd");
            return (Criteria) this;
        }

        public Criteria andTransPwdLessThanOrEqualTo(String value) {
            addCriterion("trans_pwd <=", value, "transPwd");
            return (Criteria) this;
        }

        public Criteria andTransPwdLike(String value) {
            addCriterion("trans_pwd like", value, "transPwd");
            return (Criteria) this;
        }

        public Criteria andTransPwdNotLike(String value) {
            addCriterion("trans_pwd not like", value, "transPwd");
            return (Criteria) this;
        }

        public Criteria andTransPwdIn(List<String> values) {
            addCriterion("trans_pwd in", values, "transPwd");
            return (Criteria) this;
        }

        public Criteria andTransPwdNotIn(List<String> values) {
            addCriterion("trans_pwd not in", values, "transPwd");
            return (Criteria) this;
        }

        public Criteria andTransPwdBetween(String value1, String value2) {
            addCriterion("trans_pwd between", value1, value2, "transPwd");
            return (Criteria) this;
        }

        public Criteria andTransPwdNotBetween(String value1, String value2) {
            addCriterion("trans_pwd not between", value1, value2, "transPwd");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosIsNull() {
            addCriterion("bank_idcard_pos is null");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosIsNotNull() {
            addCriterion("bank_idcard_pos is not null");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosEqualTo(String value) {
            addCriterion("bank_idcard_pos =", value, "bankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosNotEqualTo(String value) {
            addCriterion("bank_idcard_pos <>", value, "bankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosGreaterThan(String value) {
            addCriterion("bank_idcard_pos >", value, "bankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosGreaterThanOrEqualTo(String value) {
            addCriterion("bank_idcard_pos >=", value, "bankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosLessThan(String value) {
            addCriterion("bank_idcard_pos <", value, "bankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosLessThanOrEqualTo(String value) {
            addCriterion("bank_idcard_pos <=", value, "bankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosLike(String value) {
            addCriterion("bank_idcard_pos like", value, "bankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosNotLike(String value) {
            addCriterion("bank_idcard_pos not like", value, "bankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosIn(List<String> values) {
            addCriterion("bank_idcard_pos in", values, "bankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosNotIn(List<String> values) {
            addCriterion("bank_idcard_pos not in", values, "bankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosBetween(String value1, String value2) {
            addCriterion("bank_idcard_pos between", value1, value2, "bankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andBankIdcardPosNotBetween(String value1, String value2) {
            addCriterion("bank_idcard_pos not between", value1, value2, "bankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackIsNull() {
            addCriterion("bank_idcard_back is null");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackIsNotNull() {
            addCriterion("bank_idcard_back is not null");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackEqualTo(String value) {
            addCriterion("bank_idcard_back =", value, "bankIdcardBack");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackNotEqualTo(String value) {
            addCriterion("bank_idcard_back <>", value, "bankIdcardBack");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackGreaterThan(String value) {
            addCriterion("bank_idcard_back >", value, "bankIdcardBack");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackGreaterThanOrEqualTo(String value) {
            addCriterion("bank_idcard_back >=", value, "bankIdcardBack");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackLessThan(String value) {
            addCriterion("bank_idcard_back <", value, "bankIdcardBack");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackLessThanOrEqualTo(String value) {
            addCriterion("bank_idcard_back <=", value, "bankIdcardBack");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackLike(String value) {
            addCriterion("bank_idcard_back like", value, "bankIdcardBack");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackNotLike(String value) {
            addCriterion("bank_idcard_back not like", value, "bankIdcardBack");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackIn(List<String> values) {
            addCriterion("bank_idcard_back in", values, "bankIdcardBack");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackNotIn(List<String> values) {
            addCriterion("bank_idcard_back not in", values, "bankIdcardBack");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackBetween(String value1, String value2) {
            addCriterion("bank_idcard_back between", value1, value2, "bankIdcardBack");
            return (Criteria) this;
        }

        public Criteria andBankIdcardBackNotBetween(String value1, String value2) {
            addCriterion("bank_idcard_back not between", value1, value2, "bankIdcardBack");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosIsNull() {
            addCriterion("hold_bank_idcard_pos is null");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosIsNotNull() {
            addCriterion("hold_bank_idcard_pos is not null");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosEqualTo(String value) {
            addCriterion("hold_bank_idcard_pos =", value, "holdBankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosNotEqualTo(String value) {
            addCriterion("hold_bank_idcard_pos <>", value, "holdBankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosGreaterThan(String value) {
            addCriterion("hold_bank_idcard_pos >", value, "holdBankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosGreaterThanOrEqualTo(String value) {
            addCriterion("hold_bank_idcard_pos >=", value, "holdBankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosLessThan(String value) {
            addCriterion("hold_bank_idcard_pos <", value, "holdBankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosLessThanOrEqualTo(String value) {
            addCriterion("hold_bank_idcard_pos <=", value, "holdBankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosLike(String value) {
            addCriterion("hold_bank_idcard_pos like", value, "holdBankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosNotLike(String value) {
            addCriterion("hold_bank_idcard_pos not like", value, "holdBankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosIn(List<String> values) {
            addCriterion("hold_bank_idcard_pos in", values, "holdBankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosNotIn(List<String> values) {
            addCriterion("hold_bank_idcard_pos not in", values, "holdBankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosBetween(String value1, String value2) {
            addCriterion("hold_bank_idcard_pos between", value1, value2, "holdBankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andHoldBankIdcardPosNotBetween(String value1, String value2) {
            addCriterion("hold_bank_idcard_pos not between", value1, value2, "holdBankIdcardPos");
            return (Criteria) this;
        }

        public Criteria andAppIdIsNull() {
            addCriterion("app_id is null");
            return (Criteria) this;
        }

        public Criteria andAppIdIsNotNull() {
            addCriterion("app_id is not null");
            return (Criteria) this;
        }

        public Criteria andAppIdEqualTo(String value) {
            addCriterion("app_id =", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotEqualTo(String value) {
            addCriterion("app_id <>", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdGreaterThan(String value) {
            addCriterion("app_id >", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdGreaterThanOrEqualTo(String value) {
            addCriterion("app_id >=", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdLessThan(String value) {
            addCriterion("app_id <", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdLessThanOrEqualTo(String value) {
            addCriterion("app_id <=", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdLike(String value) {
            addCriterion("app_id like", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotLike(String value) {
            addCriterion("app_id not like", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdIn(List<String> values) {
            addCriterion("app_id in", values, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotIn(List<String> values) {
            addCriterion("app_id not in", values, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdBetween(String value1, String value2) {
            addCriterion("app_id between", value1, value2, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotBetween(String value1, String value2) {
            addCriterion("app_id not between", value1, value2, "appId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdIsNull() {
            addCriterion("user_grade_id is null");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdIsNotNull() {
            addCriterion("user_grade_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdEqualTo(String value) {
            addCriterion("user_grade_id =", value, "userGradeId");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdNotEqualTo(String value) {
            addCriterion("user_grade_id <>", value, "userGradeId");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdGreaterThan(String value) {
            addCriterion("user_grade_id >", value, "userGradeId");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_grade_id >=", value, "userGradeId");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdLessThan(String value) {
            addCriterion("user_grade_id <", value, "userGradeId");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdLessThanOrEqualTo(String value) {
            addCriterion("user_grade_id <=", value, "userGradeId");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdLike(String value) {
            addCriterion("user_grade_id like", value, "userGradeId");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdNotLike(String value) {
            addCriterion("user_grade_id not like", value, "userGradeId");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdIn(List<String> values) {
            addCriterion("user_grade_id in", values, "userGradeId");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdNotIn(List<String> values) {
            addCriterion("user_grade_id not in", values, "userGradeId");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdBetween(String value1, String value2) {
            addCriterion("user_grade_id between", value1, value2, "userGradeId");
            return (Criteria) this;
        }

        public Criteria andUserGradeIdNotBetween(String value1, String value2) {
            addCriterion("user_grade_id not between", value1, value2, "userGradeId");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNull() {
            addCriterion("id_card is null");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNotNull() {
            addCriterion("id_card is not null");
            return (Criteria) this;
        }

        public Criteria andIdCardEqualTo(String value) {
            addCriterion("id_card =", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotEqualTo(String value) {
            addCriterion("id_card <>", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThan(String value) {
            addCriterion("id_card >", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThanOrEqualTo(String value) {
            addCriterion("id_card >=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThan(String value) {
            addCriterion("id_card <", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThanOrEqualTo(String value) {
            addCriterion("id_card <=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLike(String value) {
            addCriterion("id_card like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotLike(String value) {
            addCriterion("id_card not like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardIn(List<String> values) {
            addCriterion("id_card in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotIn(List<String> values) {
            addCriterion("id_card not in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardBetween(String value1, String value2) {
            addCriterion("id_card between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotBetween(String value1, String value2) {
            addCriterion("id_card not between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andRealTypeIsNull() {
            addCriterion("real_type is null");
            return (Criteria) this;
        }

        public Criteria andRealTypeIsNotNull() {
            addCriterion("real_type is not null");
            return (Criteria) this;
        }

        public Criteria andRealTypeEqualTo(Integer value) {
            addCriterion("real_type =", value, "realType");
            return (Criteria) this;
        }

        public Criteria andRealTypeNotEqualTo(Integer value) {
            addCriterion("real_type <>", value, "realType");
            return (Criteria) this;
        }

        public Criteria andRealTypeGreaterThan(Integer value) {
            addCriterion("real_type >", value, "realType");
            return (Criteria) this;
        }

        public Criteria andRealTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("real_type >=", value, "realType");
            return (Criteria) this;
        }

        public Criteria andRealTypeLessThan(Integer value) {
            addCriterion("real_type <", value, "realType");
            return (Criteria) this;
        }

        public Criteria andRealTypeLessThanOrEqualTo(Integer value) {
            addCriterion("real_type <=", value, "realType");
            return (Criteria) this;
        }

        public Criteria andRealTypeIn(List<Integer> values) {
            addCriterion("real_type in", values, "realType");
            return (Criteria) this;
        }

        public Criteria andRealTypeNotIn(List<Integer> values) {
            addCriterion("real_type not in", values, "realType");
            return (Criteria) this;
        }

        public Criteria andRealTypeBetween(Integer value1, Integer value2) {
            addCriterion("real_type between", value1, value2, "realType");
            return (Criteria) this;
        }

        public Criteria andRealTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("real_type not between", value1, value2, "realType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}